package com.cruise.game.model.param.user;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 提现参数
 * 
 * @author cruise
 * @date 2025-02-28
 */
@Data
public class WithdrawParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 提现金额
     */
    @NotNull(message = "提现金额不能为空")
    @Positive(message = "提现金额必须大于0")
    private BigDecimal amount;

    /**
     * 备注
     */
    private String remark;
}
